﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VSA.Interfaces.Entities;
using VSA.DataAccess;

namespace VSA.Entities
{
    public class EntityFactory
    {
        public static Object CreateEntityObject(EntityEnumeration enumValue, VSADataContext dataContext)
        {
            switch (enumValue)
            { 
                case EntityEnumeration.Customer:
                    return new CustomerEntity(dataContext);
                default:
                    return null;
            }
        }
    }
}
